package com.rich.paas.domain.dto;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 面试记录DTO
 * </p>
 *
 * @author 陈浩
 * @since 2018-06-11
 */
public class InterviewRecordDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 企业ID
     */
    private Long companyId;
    /**
     * 面试者ID
     */
    private Long userId;
    /**
     * 面试者姓名
     */
    private String realName;
    /**
     * 岗位ID
     */
    private Long positionId;
    /**
     * 岗位名称
     */
    private String positionName;
    /**
     * 面试者手机
     */
    private String phone;
    /**
     * 面试官ID，多个逗号隔开
     */
    private String interviewerIds;

    /**
     * 面试者名称，多个逗号隔开
     */
    private String interviewerNames;
    /**
     * 0-正在面试 1-保留候选 2-淘汰 3-发放offer
     */
    private Integer status;
    /**
     * 签到时间
     */
    @JsonFormat(pattern="MM-dd HH:mm")
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 评价ID
     */
    private Long evaluateId;

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getInterviewerNames() {
        return interviewerNames;
    }

    public void setInterviewerNames(String interviewerNames) {
        this.interviewerNames = interviewerNames;
    }

    public Long getEvaluateId() {
        return evaluateId;
    }

    public void setEvaluateId(Long evaluateId) {
        this.evaluateId = evaluateId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPositionId() {
        return positionId;
    }

    public void setPositionId(Long positionId) {
        this.positionId = positionId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getInterviewerIds() {
        return interviewerIds;
    }

    public void setInterviewerIds(String interviewerIds) {
        this.interviewerIds = interviewerIds;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "InterviewRecord{" +
        ", id=" + id +
        ", companyId=" + companyId +
        ", userId=" + userId +
        ", positionId=" + positionId +
        ", phone=" + phone +
        ", interviewerIds=" + interviewerIds +
        ", status=" + status +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
